package com.nulstudio.sppm.Entities;

public class InventoryEntry {
    private int id;
    private String name;
    private int quantity;
    private String supplierName;
    private float costPrice;
    private float retailPrice;
    private float wholesalePrice;

    public float getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(float retailPrice) {
        this.retailPrice = retailPrice;
    }

    public float getWholesalePrice() {
        return wholesalePrice;
    }

    public void setWholesalePrice(float wholesalePrice) {
        this.wholesalePrice = wholesalePrice;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public float getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(float costPrice) {
        this.costPrice = costPrice;
    }

    public InventoryEntry(){

    }

    public InventoryEntry(int id, String name, int quantity, String supplierName, float costPrice,float retailPrice,float wholesalePrice) {
        this.id = id;
        this.name = name;
        this.quantity = quantity;
        this.supplierName = supplierName;
        this.costPrice = costPrice;
        this.retailPrice = retailPrice;
        this.wholesalePrice = wholesalePrice;
    }

    @Override
    public String toString() {
        return "InventoryEntry{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", quantity=" + quantity +
                ", supplierName='" + supplierName + '\'' +
                ", costPrice=" + costPrice +
                '}';
    }
}
